home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 051-075 / 069 / monproc / poster < prev   
Text File  |  1995-03-13  |  2KB  |  33 lines

  1. Article 3103 of comp.sys.amiga:
  2. Path: mcdsun!noao!hao!nbires!seismo!rutgers!cbmvax!phillip
  3. From: phillip@cbmvax.cbm.UUCP (Phillip Lindsay CATS)
  4. Newsgroups: comp.sys.amiga
  5. Subject: A program to monitor AmigaDOS packet activity.
  6. Message-ID: <1599@cbmvax.cbmvax.cbm.UUCP>
  7. Date: 30 Mar 87 16:24:33 GMT
  8. Distribution: comp
  9. Organization: Commodore Technology, West Chester, PA
  10. Lines: 717
  11.  
  12. [yeah, bugs come and go, but COBOL insists on staying...]
  13.  
  14.     In the process structure you will find a field labeled "pr_PktWait." This
  15. is a pointer for a alternate wait routine for AmigaDOS message handling.
  16. Everytime the AmigaDOS taskwait() routine is called a check is made to see
  17. if the process PktWait field is non-zero...if non-zero a subroutine call is
  18. made to that address. The requirement of the subroutine is to wait for a
  19. message to arrive at the process port (pr_MsgPort) and to return the address
  20. of the message (NOT PACKET!) in D0.
  21. Anyway, what follows is a simple program that will allow you to monitor any
  22. process for packet activity. A binary is available for the asking. (uuencoded)
  23.     BTW, When you call a AmigaDOS routine [like Read()] that talks to a
  24. AmigaDOS handler you can monitor a process receiving packets.
  25. -phil [ I promise this time no two signatures ]
  26. ==============================================================================
  27.   Phillip Lindsay - Commodore Business Machines - Amiga Technical Support
  28.   UUCP: {ihnp4|seismo|caip}!cbmvax!phillip      - Phone: (215) 431-9180
  29.   No warranty is implied or otherwise given in the form of suggestion or 
  30.   example. Any opinions found here are of my making.     /* eof */
  31.  
  32. --------------ok...SA take out your blade and slice here----------------------
  33.